package org.huanletao.ssm.model;

import java.util.List;

/**
 * <p>
 * </p>
 * package: org.huanletao.ssm.model
 * description:
 * className: AjaxResult
 * author:  踏雪无痕
 * copyright: Copyright (c) 2022/8/31 9:49
 * since: 1.0.0
 */
public class PageInfo<T> {
    private T data;
    private long total;
    private int pageSize;
    private int pageNo;

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public long getTotal() {
        return total;
    }

    public void setTotal(long total) {
        this.total = total;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getPageNo() {
        return pageNo;
    }

    public void setPageNo(int pageNo) {
        this.pageNo = pageNo;
    }
}
